package cn.cs.mapper;

import cn.cs.pojo.AgentOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface AgentOrderMapper {

    public AgentOrder getAgentOrderById(@Param(value = "id") String id) throws Exception;

    public List<AgentOrder> getAgentOrderListByMap(Map<String, Object> param) throws Exception;

    public Integer getAgentOrderCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertAgentOrder(AgentOrder agentOrder) throws Exception;

    public Integer updateAgentOrder(AgentOrder agentOrder) throws Exception;

    public Integer deleteAgentOrderById(@Param(value = "id") String id) throws Exception;

}
